<?php
defined('_JEXEC') or die('Restricted access');

$link_breadcrumb = PATH_LIBRARIES.DS.'breadcrumb.php';
require_once ( $link_breadcrumb );
// $count	= count($items);

if(!isset($breadcrumb_home))
	{
	$imgbr = BASE_URL.'/images/arrow.png';
	$separator='<img alt="arrow"  src="'.$imgbr.'" border="0" />';


	foreach($items AS $br)
	{
		$value = explode('#$#', $br);
		$name = $value[0];
		$link = $value[1];

		if(!empty($link)) {
				echo '<a href="'.$link.'" class="pathway">'.$name.'</a>';
				echo ' '.$separator.' ';
			} else {
				echo $name;
			}
	}
}